package com.itheima.service;

import com.itheima.entity.Result;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

@Transactional
public interface OrderService {

    public Result order(Map map) throws Exception;

    public Map findById(Integer id) throws Exception;
}
